import { ModuleWithProviders } from '@angular/core'
import { Routes, RouterModule } from '@angular/router'

export const routes: Routes = [
  {
    path: 'user-operation',
    loadChildren: 'app/+log-info/+user-operation/user-operation.module#UserOperationModule'
  },
  {
    path: 'firmware-update',
    loadChildren: 'app/+log-info/+firmware-update/firmware-update.module#FirmwareUpdateModule'
  },
  {
    path: 'api-log',
    loadChildren: 'app/+log-info/+api-log/api-log.module#ApiLogModule'
  },
  {
    path: 'equipment-warning',
    loadChildren: 'app/+log-info/+equipment-warning/equipment-warning.module#EquipmentWarningModule'
  },
  {
    path: 'sensor',
    loadChildren: 'app/+log-info/+sensor-log/sensor-log.module#SensorLogModule'
  },
  {
    path: 'alert-message-log',
    loadChildren: 'app/+log-info/+alert-message-log/alert-message-log.module#AlertMessageLogModule'
  },
  {
    path: 'repairRecord',
    loadChildren: 'app/+log-info/+repairRecord/repairRecord.module#RepairRecordModule'
  },
  {
    path: 'coeRecord',
    loadChildren: 'app/+log-info/+coeRecord/coeRecord.module#CoeRecordModule'
  },
  {
    path: 'device-event',
    loadChildren: 'app/+log-info/+device-event/device-event.module#DeviceEventModule'
  },
  {
    path: 'device-record',
    loadChildren: 'app/+log-info/+device-record/device-record.module#DeviceRecordModule'
  },
  {
    path: 'device-log',
    loadChildren: 'app/+log-info/+device-log/device-log.module#DeviceLogModule'
  },
  {
    path: 'project-config-log',
    loadChildren: 'app/+log-info/+project-docking-config/project-docking-config.module#ProjectDockingConfigModule'
  },
  {
    path: 'factory-testing',
    loadChildren: 'app/+log-info/+factory-testing/factory-testing.module#FactoryTestingModule'
  },
  {
    path: 'install-img-check',
    loadChildren: 'app/+log-info/+install-img-check/install-img-check.module#InstallImgCheckModule'
  },
  {
    path: 'renewal-log',
    loadChildren: 'app/+log-info/+renewal-log/renewal-log.module#RenewalLogModule'
  },
  {
    path: 'release',
    loadChildren: 'app/+log-info/+release/release.module#ReleaseModule'
  },
  {
    path: 'matrix-push',
    loadChildren: 'app/+log-info/+matrix-push/matrix-push.module#MatrixPushModule'
  },
  {
    path: 'coefficient-log', //切换系数日志
    loadChildren: 'app/+log-info/+coefficient-log/coefficient-log.module#CoefficientLogModule'
  },
  {
    path: 'push-log', //华新水泥推送日志
    loadChildren: 'app/+log-info/+push-log/push-log.module#PushLogModule'
  },
  {
    path: 'delete-log', // 删除日志管理
    loadChildren: 'app/+log-info/+delete-log/delete-log.module#DeleteLogModule'
  },
  {
    path: 'clock-in', // 实施人员打卡
    loadChildren: 'app/+log-info/+clock-in/clock-in.module#ClockInModule'
  },
  {
    path: 'terminal-expire', // 实施人员打卡
    loadChildren: 'app/+log-info/+terminal-expire/terminal-expire.module#TerminalExpireModule'
  },
  {
    path: 'auto-reset', // 自动重置ID
    loadChildren: 'app/+log-info/+auto-reset/auto-reset.module#AutoResetModule'
  },
  {
    path: 'repaired-delete-log', // 待维修记录删除日志
    loadChildren: 'app/+log-info/+repaired-delete-log/repaired-delete-log.module#RepairedDeleteLogModule'
  },
  {
    path: 'conch-log', //海螺水泥推送日志
    loadChildren: 'app/+log-info/+conch-log/conch-log.module#ConchLogModule'
  },
  {
    path: 'data-repair-log', // 数据修复[海螺]
    loadChildren: 'app/+log-info/+data-repair-log/data-repair-log.module#DataRepairLogModule'
  }
]

export const routing = RouterModule.forChild(routes)
